package com.sias.oj.model.dto.postfavour;

import com.sias.oj.common.PageRequest;
import com.sias.oj.model.dto.post.PostQueryRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 帖子收藏查询请求
 *
 * @author <a href="https://github.com/sogra">程序员sogra</a>
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PostFavourQueryRequest extends PageRequest implements Serializable {

  private static final long serialVersionUID = 1L;
  /**
   * 帖子查询请求
   */
  private PostQueryRequest postQueryRequest;
  /**
   * 用户 id
   */
  private Long userId;
}